home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / pc / sample code / interapplication comm / 7edit / source / sveditglobals.c < prev    next >
Encoding:
C/C++ Source or Header  |  2000-06-23  |  1.9 KB  |  65 lines

  1. /*
  2.     File:        SVEditGlobals.c
  3.  
  4.     Contains:    
  5.  
  6.     Written by: Original version by Jon Lansdell and Nigel Humphreys.
  7.                             3.1 updates by Greg Sutton.    
  8.  
  9.     Copyright:    Copyright ©1995-1999 by Apple Computer, Inc., All Rights Reserved.
  10.  
  11.                 You may incorporate this Apple sample source code into your program(s) without
  12.                 restriction. This Apple sample source code has been provided "AS IS" and the
  13.                 responsibility for its operation is yours. You are not permitted to redistribute
  14.                 this Apple sample source code as "Apple sample source code" after having made
  15.                 changes. If you're going to re-distribute the source, we require that you make
  16.                 it clear in the source that the code was descended from Apple sample source
  17.                 code, but that you've made changes.
  18.  
  19.     Change History (most recent first):
  20.                 7/19/1999    Karl Groethe    Updated for Metrowerks Codewarror Pro 2.1
  21.                 10/12/95    CW                Added Metrowerks condition for "qd" definition.
  22.                                                Added gHasDragManager flag, gDragTrackingHandlerUPP and
  23.                                                gDragReceiveHandlerUPP Drag Manager UPPs (all globals).
  24. */
  25.  
  26.  
  27. #define __COMPGLOBALS__
  28.  
  29. #include "SVEditGlobals.h"
  30.  
  31.  
  32. #if defined(powerc) && !defined(__MWERKS__) // MetroWerks declares "qd" in their runtime
  33.     QDGlobals    qd;
  34. #endif
  35.  
  36.  
  37. short      gWCount;
  38. short      gNewDocCount;
  39. MenuHandle myMenus[kLastMenu+1];
  40. short      gFontMItem;
  41. Boolean    gQuitting;
  42. Cursor     editCursor;
  43. Cursor     waitCursor;
  44. Boolean    gInBackground;
  45.   
  46.   /*now for the environment variables set up by Gestalt*/
  47.   
  48. Boolean    gGestaltAvailable;
  49. Boolean    gAppleEventsImplemented;
  50. Boolean    gAliasManagerImplemented;
  51. Boolean    gEditionManagerImplemented;
  52. Boolean    gOutlineFontsImplemented;
  53. Boolean    gRecordingImplemented;
  54. Boolean    gHasDragManager;        /* Is the Drag Manager available? */
  55.  
  56.  
  57. ControlActionUPP        gHScrollActionUPP;
  58. ControlActionUPP        gVScrollActionUPP;
  59. UserItemUPP                gDefaultButtonUPP;
  60. DragTrackingHandlerUPP    gDragTrackingHandlerUPP;
  61. DragReceiveHandlerUPP    gDragReceiveHandlerUPP;
  62.  
  63.  
  64.  
  65.